#!/bin/bash


# 嵌套for循环
for i in {1..30}
do
  echo "等待写入 $i"  
  echo $i >> /dev/my_chara0
  echo "写入完成 $i"
done